#include"comm.hpp"

int main()
{
    key_t key=getkey();
    int shmid=getShm(key,gsize);
    char* shmstart=attchShm(shmid);
    std::cout<<shmstart<<std::endl;
    detachShm(shmstart);
    //delShm(shmid);
    return 0;



}